package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.ExhibitionDao;
import com.bootdo.system.domain.ExhibitionDO;
import com.bootdo.system.service.ExhibitionService;



@Service
public class ExhibitionServiceImpl implements ExhibitionService {
	@Autowired
	private ExhibitionDao exhibitionDao;
	
	@Override
	public ExhibitionDO get(Long id){
		return exhibitionDao.get(id);
	}
	
	@Override
	public List<ExhibitionDO> list(Map<String, Object> map){
		return exhibitionDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return exhibitionDao.count(map);
	}
	
	@Override
	public int save(ExhibitionDO exhibition){
		return exhibitionDao.save(exhibition);
	}
	
	@Override
	public int update(ExhibitionDO exhibition){
		return exhibitionDao.update(exhibition);
	}
	
	@Override
	public int remove(Long id){
		return exhibitionDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return exhibitionDao.batchRemove(ids);
	}
	
}
